--测试100万次的时间消耗

local begin = os.clock()

local s = 0
for i = 1, 1000000 do
	s = s+1
end

local e = os.clock()

print(e-begin)